﻿@model Gman.WebApp.Models.ServicioModel
<script type="text/javascript">
    var guid = "@( Model.ID.ToString())";
    var action = "@( Model.Action.ToString())";
</script>
<table width="100%" class="GridLista">
    <tr class="HeaderStyle">
        <th>
            Tipo
        </th>
        <th>
            Linea/Sistema
        </th>
        <th>
            Categoria
        </th>
        <th>
            Sub Categoria
        </th>
        <th>
            Descripcion
        </th>
        <th>
            Unidad
        </th>
        <th>
            Ir
        </th>
    </tr>
    @foreach (var item in Model.Servicios)
    { 
        <tr class="ItemStyle">
            <td style="width: 150px">
                @( Html.Encode(item.TipoServ))
            </td>
            <td style="width: 150px">
                @( Html.Encode(item.SistServ))
            </td>
            <td style="width: 150px">
                @( Html.Encode(item.CatServ))
            </td>
            <td style="width: 150px">
                @( Html.Encode(item.SubCatServ))
            </td>
            <td style="width: 550px">
                @( Html.Encode(item.DescServ))
            </td>
            <td style="width: 100px">
                @( Html.Encode(item.UniMedServ))
            </td>
            <td style="width: 100px">
                <a class="ActionLink" href="#" onclick="Ver('@( item.IDServicio)', true)">Ver</a>
            </td>
        </tr>
    }
</table>
